package factoryPattern.abstractFactoryPattern.factory;

import factoryPattern.abstractFactoryPattern.entity.BaoMaEngine;
import factoryPattern.abstractFactoryPattern.entity.BaoMaTire;
import factoryPattern.abstractFactoryPattern.entity.Engine;
import factoryPattern.abstractFactoryPattern.entity.Tire;

public class BaoMaFactory implements AbstractFactory{
    @Override
    public Engine createEngine() {
        return new BaoMaEngine();
    }

    @Override
    public Tire createTire() {
        return new BaoMaTire();
    }
}
